﻿@if (Request.IsAuthenticated)
{
    <div class="pull-right sptopinfo" id="top-info">
        <a href="@Url.Action("UserView", "User", new { id = this.User.Identity.Name })" class="pull-left" id="user">
            <b class="icon-user"></b></a>
        <hr class="separator pull-left">
        @if (ScrumPilot.Helpers.SPHelpers.IsAdmin(this.User.Identity.Name))
        {
            <a href="@Url.Action("Params", "Config")" class="pull-left" id="settings">
                <b class="icon-settings"></b>
            </a>
        }
        <a href="@Url.Action("Logoff", "Account")" class="pull-left" id="logoff">
            <b class="icon-out-2"></b>
        </a>
    </div>
}